#include <map>
#include <vector>
//#include "../DIVA_VM.h"

class BaseLayout;


class LayoutLibrary{

public:
	static LayoutLibrary* getInstance();
	void AppendLayout(BaseLayout* layout);
	void AppendSetedLayout(BaseLayout* layout);
	std::vector<BaseLayout*> getLayoutList();
	void doLayout();
	

private:
	LayoutLibrary();
	static LayoutLibrary *  _LayoutLib;
	std::vector<BaseLayout*> _LayoutList;
	std::vector<BaseLayout*> _setedLayoutList;
};